package cn.qayy.dao;

import java.util.List;
import java.util.Map;

import cn.qayy.dto.StandardDTO;
import cn.qayy.po.Basis;
import cn.qayy.po.Policy;
import cn.qayy.po.Standard;
import cn.qayy.service.Uploadable;

public interface StandardMapper {
	int deleteByPrimaryKey(Integer id);

    int insert(Standard record);

    int insertSelective(Standard record);

    Standard selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Standard record);

    int updateByPrimaryKey(Standard record);

    List<StandardDTO> selectStandardForDown(Map<String, Object> params) ;

    int updateByList(List<?> planlist);

    int insertByList(List<?> planlist);
    
    List<Standard> selectByIds(List<String> list);

    List<Standard> selectStandardBy(Map<String, Object> params) ;

	List<? extends String> selectPbKeys();

	Standard getStandard(Map<String,Object> params);

	int deleteByList(List list);

	int delete(Object bean);

	int insert(Object bean);

	int update(Object bean);

	List<Standard> selectByMap(Map<String, Object> params);

	List<Integer> selectIdsByMap(Map<String, Object> params);
	
	List<Map<String, Object>> selectStandardByDown(Map<String, Object> params) ;
}